package org.hardstone.domain.model.category;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import org.hardstone.domain.BaseCategory;
import org.hardstone.domain.BaseCategoryDomain;

@Entity
@Table(name = "modelCategory")
public class ModelResourceCategory extends BaseCategoryDomain<Long>{
    public ModelResourceCategory() {
        super();
    }
    public ModelResourceCategory(Long numberOfItems, Long capacity, BaseCategory category, String categoryName) {
        super(numberOfItems, capacity, category, categoryName);
    }

    public ModelResourceCategory(Long id, Long numberOfItems, Long capacity, BaseCategory category, String categoryName) {
        super(id, numberOfItems, capacity, category, categoryName);
    }

    @Override
    public String toString() {
        return "ComputerResourceCategory{" +
                "id=" + id +
                ", numberOfItems=" + numberOfItems +
                ", capacity=" + capacity +
                ", category=" + baseCategory +
                ", categoryName='" + categoryName + '\'' +
                '}';
    }

}
